Fix bug #11367 with assertion violation during vertical motion in egg.el.
authorEli Zaretskii <eliz@gnu.org>
Sun, 29 Apr 2012 17:19:08 +0000 (20:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 29 Apr 2012 17:19:08 +0000 (20:19 +0300)
commit053c14a9410900d1327ad96fbb8c96d44aa103c6
tree60fdb8d18919a871b5f5a9ffa9fdd7c413031ba0
parent0d3fddebb71c27019cc0bb2ff7fddd95b5353739
Fix bug #11367 with assertion violation during vertical motion in egg.el.

 src/xdisp.c (pos_visible_p): If already at a newline from the
 display string before the 'while' loop, don't walk back the glyphs
 from it3.glyph_row.  Solves assertion violation when the display
 string begins with a newline (egg.el).
src/ChangeLog
src/xdisp.c